package com.framework.loippi.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.framework.loippi.mybatis.eitity.GenericEntity;
import com.framework.loippi.mybatis.ext.annotation.Column;
import com.framework.loippi.mybatis.ext.annotation.Table;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Entity - 医生表
 * 
 * @author wmj
 * @version 2.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "T_DOCTOR")
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties({ "handler","hibernateLazyInitializer" }) 
@ApiModel(value="医生表",description="医生表")
public class Doctor implements GenericEntity {

	private static final long serialVersionUID = 5081846432919091193L;

	/**  */
	@Column(id = true, name = "id", updatable = false)
	@ApiModelProperty(value = "")
	private Long id;
	
	/** 是否删除(0否，1是) */
	@Column(name = "is_delete" )
	@ApiModelProperty(value = "是否删除(0否，1是)")
	private Integer isDelete;
	
	/** 姓名 */
	@Column(name = "name" )
	@ApiModelProperty(value = "姓名")
	private String name;

	/** 年龄 */
	@Column(name = "age" )
	@ApiModelProperty(value = "年龄")
	private String age;

	/** 性别 */
	@Column(name = "sex" )
	@ApiModelProperty(value = "性别")
	private String sex;

	/** 电话 */
	@Column(name = "phone" )
	@ApiModelProperty(value = "电话")
	private String phone;

	@Column(name = "t_department_id")
	@ApiModelProperty(value = "科室id")
	private Integer departmentId;

	/** 所属科室 */
	@Column(name = "t_department_name")
	@ApiModelProperty(value = "所属科室")
	private String departmentName;

	/** 医生介绍 */
	@Column(name = "introduce" )
	@ApiModelProperty(value = "医生介绍")
	private String introduce;

	/** 挂号费 */
	@Column(name = "registration")
	@ApiModelProperty(value = "挂号费")
	private Double registration;

	/** 医生级别 */
	@Column(name = "level")
	@ApiModelProperty(value = "医生级别")
	private Integer level;

	/** 医生职称 */
	@Column(name = "technical")
	@ApiModelProperty(value = "医生职称")
	private Integer technical;

	/** 医生详细介绍（富文本） */
	@Column(name = "detail_introduce" )
	@ApiModelProperty(value = "医生详细介绍（富文本）")
	private String detailIntroduce;
	
	/** 头像 */
	@Column(name = "avatar_url" )
	@ApiModelProperty(value = "头像")
	private String avatarUrl;
	
	/** 创建时间 */
	@Column(name = "create_time" )
	@ApiModelProperty(value = "创建时间")
	private java.util.Date createTime;
	
	/** 修改时间 */
	@Column(name = "update_time" )
	@ApiModelProperty(value = "修改时间")
	private java.util.Date updateTime;

	/** 腾讯im账号id*/
	@Column(name = "im_user_id")
	@ApiModelProperty(value = "腾讯im账号id")
	private Integer imUserId;
}
